package com.projectpractice.service;

import com.projectpractice.bean.Article;

import java.util.List;

public interface ArticleService {
    List<Article> getArticles();

    int delete(Integer id);

    Article regist(Article article);

    Article getArticleById(Integer id);

    int update(Article a);
}
